package com.kun.service_train.service.impl;

import com.kun.service_train.entity.Check;
import com.kun.service_train.entity.vo.CheckVo;
import com.kun.service_train.mapper.CheckMapper;
import com.kun.service_train.service.CheckService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author testjava
 * @since 2021-11-05
 */
@Service
public class CheckServiceImpl extends ServiceImpl<CheckMapper, Check> implements CheckService {
    @Autowired
    private CheckMapper checkMapper;
    @Override
    public List<CheckVo> getAllCheck() {
        ArrayList<Integer> list = new ArrayList<>();
        return checkMapper.getAllCheck();
    }
}
